package com.itany.corejava.day03;

import java.util.Scanner;

public class Test6 {
    public static void main(String[] args) {

        for(int year=2000;year<=2500;year++) {
            if ((year % 400 == 0) || (year % 4 == 0 && year % 100 != 0)) {
                System.out.println(year);
            }
        }
    }
}
